import {request} from './index'

type HomeInfoType = "oppo" | "onePlus" | "intelligent";

export function getHomeDataApi(type:HomeInfoType = 'oppo'):any {
  return request.get('/home/info',{
    params:{
      type
    }
  })
}
